//
//  YWPush.h
//  maintain
//
//  Created by 郑想 on 15/12/24.
//  Copyright © 2015年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWHandler;
@class YWReply;

@interface YWPushMission : NSObject

@property (nonatomic, assign) NSInteger maintenanceTypeId;
@property (nonatomic, assign) NSInteger missionStatus;
@property (nonatomic, assign) NSInteger missionId;
@property (nonatomic, assign) NSInteger completedQuantity;
@property (nonatomic, assign) NSInteger equipmentQuantity;
@property (nonatomic, copy) NSString *missionName;

@property (nonatomic, strong) YWHandler *executor;
@end

@interface YWPushTrouble : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end

//6.4	分配维保任务
@interface YWPushCommonMission : NSObject
@property (nonatomic, assign) NSInteger missionId;
@property (nonatomic, assign) NSInteger maintenanceTypeId;
@end

//6.2	分配报障任务
@interface YWPushAssign : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end

//6.6	创建报障单推送
@interface YWPushReport : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end

//6.8	临时任务推送(临时任务推送)
@interface YWPushWorkTask : NSObject
@property (nonatomic, assign) NSInteger workTaskId;
@end

//6.9	回复推送
@interface YWPushReply : NSObject
@property (nonatomic, assign) NSInteger relationId;
@property (nonatomic, assign) NSInteger relationType;
@property (nonatomic, strong) YWReply *reply;
@end

//6.7	公司通知推送(公告)
@interface YWPushWorkNotice : NSObject
@property (nonatomic, assign) NSInteger workNoticeId;
@end

//	取消维保任务
@interface YWPushCancelMission : NSObject
@property (nonatomic, assign) NSInteger missionId;
@property (nonatomic, assign) NSInteger maintenanceTypeId;
@end
//	取消报障
@interface YWPushCancelPostTrouble : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end

//	撤回维修任务
@interface YWPushCancelTroubleMission : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end
//	退回维修任务
@interface YWPushRejectTroubleMission : NSObject
@property (nonatomic, assign) NSInteger troubleId;
@end

//	json文件更新推送
@interface YWPushJsonRefresh : NSObject
@property (nonatomic, assign) NSInteger type;
@end


//6.8	修改检测保养,任务
@interface YWPushMissionModify : NSObject
@property (nonatomic, assign) NSInteger missionId;
@property (nonatomic, assign) NSInteger maintenanceTypeId;
@end

//6.10	创建巡查任务
@interface YWPushInspectionMission : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@end

//6.11	取消巡查任务
@interface YWPushCancelInspectionMission : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@end

//6.12	更新巡查任务进度
@interface YWPushInspectionMissionProgress : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@property (nonatomic, copy) NSString *uniqueTag;//最新记录的标识符
@end

@interface YWPushFinishInspectionMission : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@property (nonatomic, copy) NSString *uniqueTag;//最新记录的标识符
@end

//6.13	修改巡查任务
@interface YWPushModifyInspectionMission : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@end

//6.14	创建巡更任务
@interface YWPushKeepWatchMission : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@end

//6.15	修改巡更任务
@interface YWPushModifyKeepWatchMission : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@end

//6.16	取消巡更任务
@interface YWPushCancelKeepWatchMission : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@end

//6.17	完成巡更任务
@interface YWPushFinishKeepWatchMission : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@property (nonatomic, copy) NSString* uniqueTag;
//@property (nonatomic, strong) YWHandler *executor;
@end

//6.12	更新巡更任务进度
@interface YWPushKeepWatchMissionProgress : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@property (nonatomic, copy) NSString *uniqueTag;//最新记录的标识符
@end

//删除通知
@interface KPushDeleteWorkNotice : NSObject
@property (nonatomic, assign) NSInteger workNoticeId;
@end
//修改通知
@interface KPushModifyWorkNotice : NSObject
@property (nonatomic, assign) NSInteger workNoticeId;
@end

//删除临时任务
@interface KPushDeleteWorkTask : NSObject
@property (nonatomic, assign) NSInteger workTaskId;
@end

//修改临时任务
@interface KPushModifyWorkTask : NSObject
@property (nonatomic, assign) NSInteger workTaskId;
@end

@interface KPushDeleteReply : NSObject
@property (nonatomic, assign) NSInteger replyId;
@end

@interface KPushSystemKeepWatchMission : NSObject
@property (nonatomic, assign) NSInteger keepWatchMissionId;
@end

@interface KPushSystemInspectionMission : NSObject
@property (nonatomic, assign) NSInteger inspectionMissionId;
@end

//物料申请
@interface KPushMaterialApply : NSObject 
@property (nonatomic, assign) NSInteger applyId;
//@property (nonatomic, strong) YWHandler *creator;
@end

//物料申请抄送
@interface KPushMaterialApplyUpdate : NSObject
@property (nonatomic, assign) NSInteger applyId;
@property (nonatomic, strong) YWHandler *creator;
@end

//物料申请撤回
@interface KPushMaterialCancel : NSObject
@property (nonatomic, assign) NSInteger applyId;
@property (nonatomic, assign) NSInteger status;
@end

//物料申请驳回
@interface KPushMaterialReject : NSObject
@property (nonatomic, assign) NSInteger applyId;
@property (nonatomic, strong) YWHandler *creator;
@end

//物料领用
@interface KPushMaterialStockOut : NSObject
@property (nonatomic, assign) NSInteger stockOutId;
@property (nonatomic, strong) YWHandler *creator;
//@property (nonatomic, strong) YWHandler *receiver;
@end

//物料归还
@interface KPushMaterialReturn : NSObject
@property (nonatomic, assign) NSInteger returnId;
@property (nonatomic, strong) YWHandler *creator;
//@property (nonatomic, strong) YWHandler *returner;
@end

//物料申请at被删除
@interface KPushMaterialApplyAtCancel : NSObject
@property (nonatomic, assign) NSInteger applyId;
@end

//物料领用at被删除
@interface KPushMaterialStockOutAtCancel : NSObject
@property (nonatomic, assign) NSInteger stockOutId;
@end

//物料归还at被删除
@interface KPushMaterialReturnAtCancel : NSObject
@property (nonatomic, assign) NSInteger returnId;
@end
